#ifndef MEDIABRANCHRT_H
#define MEDIABRANCHRT_H
#include <QtWidgets>
#include "solar/trunk/NVideoDockWidget.h"
#include "solar/trunk/NLyricLabel.h"
#include "solar/trunk/NEdit.h"
#include "solar/trunk/NTableWidget.h"
#include "solar/trunk/NWidget.h"
#include "solar/trunk/NListWidget.h"
#include "solar/trunk/NSurveyor.h"
#include "solar/trunk/NStackedWidget.h"
#include "solar/trunk/NcomboBox.h"
#include "solar/trunk/NbaseWin.h"
#define TABLE_COLUMN 4
#define TABLE_COLUMN2W 80
#define VIDEO_VOLUME 20

class MediaBranchCT{

public:
    MediaBranchCT();

    QWidget *RT_clockWidget = new QWidget();
    QWidget *RTR_clockWidget = new QWidget();

    QMainWindow * RT_mainWidget = new QMainWindow(RT_clockWidget);
    Nwidget * RT_tabWidget = new Nwidget(RT_clockWidget);
    QVBoxLayout *RT_tabVbox = new QVBoxLayout(RT_tabWidget);


    Nwidget * RTP_mainWidget = new Nwidget(RT_clockWidget);
    QHBoxLayout *RTP_mainHbox = new QHBoxLayout(RTP_mainWidget);

    QHBoxLayout *RTP_hintHbox = new QHBoxLayout();
    QVBoxLayout *RTP_infoVbox = new QVBoxLayout();

    NinsipidView *RTP_mainHint = new NinsipidView(RTP_mainWidget);
    NinsipidView *RTP_addHint = new NinsipidView(RTP_mainWidget);
    NinsipidView *RTP_doallplay = new NinsipidView(RTP_mainWidget);
    NinsipidView *RTP_update = new NinsipidView(RTP_mainWidget);

    QToolBar *Tab_switchTbar = new QToolBar(RT_clockWidget);
    NcomboBox *RTP_TbmatchComboBox = new NcomboBox(RTR_clockWidget);
    NinsipidView *RTP_musicLabel = new NinsipidView(RTR_clockWidget);
    NinsipidView *RTP_moviesLabel = new NinsipidView(RTR_clockWidget);

    QToolBar *Tab_actionTbar = new QToolBar(RT_clockWidget);
    NinsipidView *RTP_removeLabel = new NinsipidView(RT_clockWidget);
    QAction *remove_overall = new QAction(QIcon(":/PIXMAP/bench/remove-overall.png"), "删除[local-sql]");
    QAction *remove_onlysql = new QAction(QIcon(":/PIXMAP/bench/remove-onlysql.png"), "删除[sql]");

    NinsipidView *RTP_menuLabel = new NinsipidView(RT_clockWidget);
    QAction *add_file = new QAction(QIcon(":/PIXMAP/bench/add-file.png"), "添加文件");
    QAction *add_folder = new QAction(QIcon(":/PIXMAP/bench/add-folder.png"), "添加文件夹");
    QMenu *add_slist = new QMenu("添加至歌单");
    QAction *batch_media = new QAction(QIcon(":/PIXMAP/bench/batch.png"), "批量操作");

    NStackedWidget *RT_sliderShow = new NStackedWidget(RT_clockWidget);
    NTableWidget * RT_mediaTabWidget = new NTableWidget(RT_clockWidget);
    //#Assist Module
    //**fixed video model
    NVideoView *RT_videoWidget = new NVideoView();

    NProcess *LD_cheduleBar = new NProcess(RT_clockWidget, false);
    NinsipidView *LD_cheduhint = new NinsipidView(RT_clockWidget);
    Nwidget *LD_chedulewin = new Nwidget(RT_clockWidget);
    QVBoxLayout *LD_cheduleVbox = new QVBoxLayout(LD_chedulewin);
    //#Assist Module
    NLyricLabel *RT_lyricLabel = new NLyricLabel(11,
                                                 4,
                                                 std::make_pair(QFont("KaiTi_GB2312", 16), QFont("KaiTi_GB2312", 20)),
                                                 std::make_pair(QColor(qRgb(172,214,239)), QColor(qRgb(199,141,141))),
                                                 RT_clockWidget);

protected:
    int RegisterSpToolsCount = 3;
    MOUSE_ATTRIBUTE MSEVKEY;

};
#endif

